<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<title>测试</title>
  </head>
  
  <body>
    ${user.userName}
<table width="100%" border=1>
<tr>
    <td>id</td>
    <td>用户名</td>
    <td>密码</td>
    <td>年龄</td>
</tr>
<c:forEach items="${users}" var="item" varStatus="status">
<tr>
    <td>${status.index}</td>
    <td>${item.userName }</td>
    <td>${item.password }</td>
    <td>${item.CURRENT_TIME}</td>
</tr>
</c:forEach>
</table>
  </body>
</html>
